package com.jerry.ball;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wanggk
 * @Description
 * @date Created in 2021/9/11
 */
@RequestMapping("/")
@RestController
public class BallController {

    @RequestMapping("/game/{roundTime}")
    public String game(@PathVariable Integer roundTime) {
        return BallTest.game(roundTime);
    }
}
